﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinqToDB.Data;
using LinqToDB.Mapping;

namespace Model
{
    [Table("STUDENT")]
    public class Student
    {
        //Oracle数据库必须设置列名字全部为大写字母。
        [PrimaryKey,Identity,Column("ID")]
        public int Id { get; set; }

        [Column("NAME")]
        public string Name { get; set; }

    }
}
